package com.sy.mapper;

import com.sy.bean.GoodsCategory;
import com.sy.bean.GoodsCategoryTree;
import com.sy.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsCategoryMapper extends IMapper<GoodsCategory> {
    /**
     * 查询类别树
     * @return
     */
    List<GoodsCategoryTree> tree();
}
